package com.ffcs.oss.portal.server.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ffcs.oss.portal.server.admin.domain.po.AdminUserDO;
import com.ffcs.oss.portal.server.admin.mapper.AdminUserMapper;
import com.ffcs.oss.portal.server.admin.service.AdminUserService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 后台用户 Service 实现类
 *
 * @author 芋道源码
 */
@Service("adminUserService")
@Slf4j
public class AdminUserServiceImpl implements AdminUserService {


    @Resource
    private AdminUserMapper userMapper;

    @Override
    public List<AdminUserDO> queryUser() {
        LambdaQueryWrapper<AdminUserDO> queryWrapper = new LambdaQueryWrapper<>();
        List<AdminUserDO> adminUserDOS = userMapper.selectList(queryWrapper);
        return adminUserDOS;
    }
}
